package com.levenx.config.properties;

import com.levenx.service.MailService;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties("lvx")
@Component
@Data
public class CommonProperties {

    private MailProperties mail = new MailProperties();

    private RedisProperties redis = new RedisProperties();
}
